<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Cpdf</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Cpdf</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Cpdf</p>
<p class="description"><p>http://www.ros.co.nz/pdf</p><p>A PHP class to provide the basic functionality to create a pdf document without  any requirement for additional modules.</p><p>Note that they companion class CezPdf can be used to extend this class and dramatically  simplify the creation of documents.</p><p>IMPORTANT NOTE  there is no warranty, implied or otherwise with this software.</p><p>LICENCE  This code has been placed in the Public Domain for all to enjoy.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> ASI 2</li>
				<li><span class="field">author:</span> Wayne Munro &lt;<a href="mailto:pdf@ros.co.nz">pdf@ros.co.nz</a>&gt;</li>
				<li><span class="field">version:</span> 009</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_includes---class.pdf.php.html">/includes/class.pdf.php</a> (line <span class="field">27</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../CreditSintesis/includes/Cezpdf.html">Cezpdf</a>
					</td>
					<td>
											Cpdf
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																																																																																																																																																																																																																																																																								<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$addLooseObjects" title="details" class="var-name">$addLooseObjects</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$arc4" title="details" class="var-name">$arc4</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$arc4_objnum" title="details" class="var-name">$arc4_objnum</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$callback" title="details" class="var-name">$callback</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$catalogId" title="details" class="var-name">$catalogId</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$checkpoint" title="details" class="var-name">$checkpoint</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentBaseFont" title="details" class="var-name">$currentBaseFont</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentColour" title="details" class="var-name">$currentColour</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentContents" title="details" class="var-name">$currentContents</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentFont" title="details" class="var-name">$currentFont</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentFontNum" title="details" class="var-name">$currentFontNum</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentLineStyle" title="details" class="var-name">$currentLineStyle</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentNode" title="details" class="var-name">$currentNode</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentPage" title="details" class="var-name">$currentPage</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentStrokeColour" title="details" class="var-name">$currentStrokeColour</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$currentTextState" title="details" class="var-name">$currentTextState</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$destinations" title="details" class="var-name">$destinations</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$encrypted" title="details" class="var-name">$encrypted</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$encryptionKey" title="details" class="var-name">$encryptionKey</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$fileIdentifier" title="details" class="var-name">$fileIdentifier</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$firstPageId" title="details" class="var-name">$firstPageId</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$fontFamilies" title="details" class="var-name">$fontFamilies</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$fonts" title="details" class="var-name">$fonts</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$infoObject" title="details" class="var-name">$infoObject</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$looseObjects" title="details" class="var-name">$looseObjects</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$messages" title="details" class="var-name">$messages</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$nCallback" title="details" class="var-name">$nCallback</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$nStack" title="details" class="var-name">$nStack</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$nStateStack" title="details" class="var-name">$nStateStack</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$numFonts" title="details" class="var-name">$numFonts</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$numImages" title="details" class="var-name">$numImages</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$numObj" title="details" class="var-name">$numObj</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$numPages" title="details" class="var-name">$numPages</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$objects" title="details" class="var-name">$objects</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$options" title="details" class="var-name">$options</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$procsetObjectId" title="details" class="var-name">$procsetObjectId</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$stack" title="details" class="var-name">$stack</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$stateStack" title="details" class="var-name">$stateStack</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$wordSpaceAdjust" title="details" class="var-name">$wordSpaceAdjust</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								<div class="method-definition">
					<img src="../../media/images/Constructor.png" alt=" "/>
											<span class="method-result">Cpdf</span>
										<a href="#Cpdf" title="details" class="method-name">Cpdf</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$pageSize</span> = <span class="var-default">array(0,0,612,792)</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addDestination" title="details" class="method-name">addDestination</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$label</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$style</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$a</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$b</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$c</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addImage" title="details" class="method-name">addImage</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$img</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$w</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$h</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$quality</span> = <span class="var-default">75</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addInfo" title="details" class="method-name">addInfo</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$label</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addInternalLink" title="details" class="method-name">addInternalLink</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$label</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addJpegFromFile" title="details" class="method-name">addJpegFromFile</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$img</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$w</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$h</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addLink" title="details" class="method-name">addLink</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addMessage" title="details" class="method-name">addMessage</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$message</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addObject" title="details" class="method-name">addObject</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">'add'</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addPngFromFile" title="details" class="method-name">addPngFromFile</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$w</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$h</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addText" title="details" class="method-name">addText</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$size</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$wordSpaceAdjust</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addTextWrap" title="details" class="method-name">addTextWrap</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$width</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$size</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$justification</span> = <span class="var-default">'left'</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$test</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#ARC4" title="details" class="method-name">ARC4</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$text</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#ARC4_init" title="details" class="method-name">ARC4_init</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#checkAllHere" title="details" class="method-name">checkAllHere</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#closeObject" title="details" class="method-name">closeObject</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#curve" title="details" class="method-name">curve</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x2</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y2</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x3</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y3</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#ellipse" title="details" class="method-name">ellipse</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$r1</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$r2</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$nSeg</span> = <span class="var-default">8</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$astart</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$afinish</span> = <span class="var-default">360</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$close</span> = <span class="var-default">1</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$fill</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#encryptInit" title="details" class="method-name">encryptInit</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#filledEllipse" title="details" class="method-name">filledEllipse</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$r1</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$r2</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$nSeg</span> = <span class="var-default">8</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$astart</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$afinish</span> = <span class="var-default">360</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#filledRectangle" title="details" class="method-name">filledRectangle</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$width</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$height</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getFirstPageId" title="details" class="method-name">getFirstPageId</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getFontDecender" title="details" class="method-name">getFontDecender</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$size</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getFontHeight" title="details" class="method-name">getFontHeight</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$size</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getTextWidth" title="details" class="method-name">getTextWidth</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$size</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$text</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#line" title="details" class="method-name">line</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x2</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y2</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#md5_16" title="details" class="method-name">md5_16</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$string</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#newPage" title="details" class="method-name">newPage</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$insert</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$pos</span> = <span class="var-default">'after'</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#openHere" title="details" class="method-name">openHere</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$style</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$a</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$b</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$c</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#openObject" title="details" class="method-name">openObject</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#output" title="details" class="method-name">output</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$debug</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_action" title="details" class="method-name">o_action</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_annotation" title="details" class="method-name">o_annotation</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_catalog" title="details" class="method-name">o_catalog</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_contents" title="details" class="method-name">o_contents</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_destination" title="details" class="method-name">o_destination</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_encryption" title="details" class="method-name">o_encryption</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_font" title="details" class="method-name">o_font</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_fontDescriptor" title="details" class="method-name">o_fontDescriptor</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_fontEncoding" title="details" class="method-name">o_fontEncoding</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_image" title="details" class="method-name">o_image</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_info" title="details" class="method-name">o_info</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_outlines" title="details" class="method-name">o_outlines</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_page" title="details" class="method-name">o_page</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_pages" title="details" class="method-name">o_pages</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_procset" title="details" class="method-name">o_procset</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#o_viewerPreferences" title="details" class="method-name">o_viewerPreferences</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#partEllipse" title="details" class="method-name">partEllipse</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$astart</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$afinish</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$r1</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$r2</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$nSeg</span> = <span class="var-default">8</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#polygon" title="details" class="method-name">polygon</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$p</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$np</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$f</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#rectangle" title="details" class="method-name">rectangle</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$width</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$height</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#reopenObject" title="details" class="method-name">reopenObject</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#restoreState" title="details" class="method-name">restoreState</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$pageEnd</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#saveState" title="details" class="method-name">saveState</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$pageEnd</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#selectFont" title="details" class="method-name">selectFont</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$fontName</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$encoding</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$set</span> = <span class="var-default">1</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setColor" title="details" class="method-name">setColor</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$r</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$g</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$b</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$force</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setEncryption" title="details" class="method-name">setEncryption</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$userPass</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$ownerPass</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$pc</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setFontFamily" title="details" class="method-name">setFontFamily</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$family</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setLineStyle" title="details" class="method-name">setLineStyle</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$width</span> = <span class="var-default">1</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$cap</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$join</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$dash</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$phase</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setPreferences" title="details" class="method-name">setPreferences</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$label</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setStrokeColor" title="details" class="method-name">setStrokeColor</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$r</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$g</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$b</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$force</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#stopObject" title="details" class="method-name">stopObject</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#stream" title="details" class="method-name">stream</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#transaction" title="details" class="method-name">transaction</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$action</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$addLooseObjects" id="$addLooseObjects"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$addLooseObjects</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">115</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">array contains infomation about how the loose objects are to be added to the document</p>
	
	
		
		

</div>
<a name="var$arc4" id="$arc4"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$arc4</span>
			 = <span class="var-default">''</span>			(line <span class="line-number">160</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the ancryption array for the document encryption is stored here</p>
	
	
		
		

</div>
<a name="var$arc4_objnum" id="$arc4_objnum"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$arc4_objnum</span>
						(line <span class="line-number">164</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the object Id of the encryption information</p>
	
	
		
		

</div>
<a name="var$callback" id="$callback"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$callback</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">180</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">array which forms a stack to keep track of nested callback functions</p>
	
	
		
		

</div>
<a name="var$catalogId" id="$catalogId"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$catalogId</span>
						(line <span class="line-number">40</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the objectId (number within the objects array) of the document catalog</p>
	
	
		
		

</div>
<a name="var$checkpoint" id="$checkpoint"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$checkpoint</span>
			 = <span class="var-default"> ''</span>			(line <span class="line-number">195</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">store the stack for the transaction commands, each item in here is a record of the values of all the  variables within the class, so that the user can rollback at will (from each 'start' command)  note that this includes the objects array, so these can be large.</p>
	
	
		
		

</div>
<a name="var$currentBaseFont" id="$currentBaseFont"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentBaseFont</span>
			 = <span class="var-default">''</span>			(line <span class="line-number">53</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the current base font</p>
	
	
		
		

</div>
<a name="var$currentColour" id="$currentColour"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentColour</span>
			 = <span class="var-default">array('r'=&gt;-1,'g'=&gt;-1,'b'=&gt;-1)</span>			(line <span class="line-number">77</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">current colour for fill operations, defaults to inactive value, all three components should be between 0 and 1 inclusive when active</p>
	
	
		
		

</div>
<a name="var$currentContents" id="$currentContents"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentContents</span>
						(line <span class="line-number">69</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">object number of the currently active contents block</p>
	
	
		
		

</div>
<a name="var$currentFont" id="$currentFont"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentFont</span>
			 = <span class="var-default">''</span>			(line <span class="line-number">49</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">a record of the current font</p>
	
	
		
		

</div>
<a name="var$currentFontNum" id="$currentFontNum"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentFontNum</span>
						(line <span class="line-number">57</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the number of the current font within the font array</p>
	
	
		
		

</div>
<a name="var$currentLineStyle" id="$currentLineStyle"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentLineStyle</span>
			 = <span class="var-default">''</span>			(line <span class="line-number">85</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">current style that lines are drawn in</p>
	
	
		
		

</div>
<a name="var$currentNode" id="$currentNode"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentNode</span>
						(line <span class="line-number">61</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$currentPage" id="$currentPage"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentPage</span>
						(line <span class="line-number">65</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">object number of the current page</p>
	
	
		
		

</div>
<a name="var$currentStrokeColour" id="$currentStrokeColour"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentStrokeColour</span>
			 = <span class="var-default">array('r'=&gt;-1,'g'=&gt;-1,'b'=&gt;-1)</span>			(line <span class="line-number">81</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">current colour for stroke operations (lines etc.)</p>
	
	
		
		

</div>
<a name="var$currentTextState" id="$currentTextState"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$currentTextState</span>
			 = <span class="var-default"> ''</span>			(line <span class="line-number">152</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">track if the current font is bolded or italicised</p>
	
	
		
		

</div>
<a name="var$destinations" id="$destinations"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$destinations</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">189</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">store label-&gt;id pairs for named destinations, these will be used to replace internal links</p>
<p class="description"><p>done this way so that destinations can be defined after the location that links to them</p></p>
	
	
		
		

</div>
<a name="var$encrypted" id="$encrypted"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$encrypted</span>
						(line <span class="line-number">172</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">a flag to say if a document is to be encrypted or not</p>
	
	
		
		

</div>
<a name="var$encryptionKey" id="$encryptionKey"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$encryptionKey</span>
			 = <span class="var-default">''</span>			(line <span class="line-number">176</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the ancryption key for the encryption of all the document content (structure is not encrypted)</p>
	
	
		
		

</div>
<a name="var$fileIdentifier" id="$fileIdentifier"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$fileIdentifier</span>
			 = <span class="var-default">''</span>			(line <span class="line-number">168</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the file identifier, used to uniquely identify a pdf document</p>
	
	
		
		

</div>
<a name="var$firstPageId" id="$firstPageId"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$firstPageId</span>
						(line <span class="line-number">133</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the objectId of the first page of the document</p>
	
	
		
		

</div>
<a name="var$fontFamilies" id="$fontFamilies"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$fontFamilies</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">148</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">store the information about the relationship between font families  this used so that the code knows which font is the bold version of another font, etc.</p>
<p class="description"><p>the value of this array is initialised in the constuctor function.</p></p>
	
	
		
		

</div>
<a name="var$fonts" id="$fonts"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$fonts</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">45</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">array carrying information about the fonts that the system currently knows about</p>
<p class="description"><p>used to ensure that a font is not loaded twice, among other things</p></p>
	
	
		
		

</div>
<a name="var$infoObject" id="$infoObject"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$infoObject</span>
						(line <span class="line-number">120</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the objectId of the information object for the document  this contains authorship, title etc.</p>
	
	
		
		

</div>
<a name="var$looseObjects" id="$looseObjects"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$looseObjects</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">111</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">an array which contains information about the objects which are not firmly attached to pages</p>
<p class="description"><p>these have been added with the addObject function</p></p>
	
	
		
		

</div>
<a name="var$messages" id="$messages"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$messages</span>
			 = <span class="var-default">''</span>			(line <span class="line-number">156</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">messages are stored here during processing, these can be selected afterwards to give some useful debug information</p>
	
	
		
		

</div>
<a name="var$nCallback" id="$nCallback"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$nCallback</span>
			 = <span class="var-default"> 0</span>			(line <span class="line-number">184</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the number of callback functions in the callback array</p>
	
	
		
		

</div>
<a name="var$nStack" id="$nStack"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$nStack</span>
						(line <span class="line-number">106</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">number of elements within the object Id storage stack</p>
	
	
		
		

</div>
<a name="var$nStateStack" id="$nStateStack"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$nStateStack</span>
			 = <span class="var-default"> 0</span>			(line <span class="line-number">94</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">number of elements within the state stack</p>
	
	
		
		

</div>
<a name="var$numFonts" id="$numFonts"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$numFonts</span>
						(line <span class="line-number">73</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">number of fonts within the system</p>
	
	
		
		

</div>
<a name="var$numImages" id="$numImages"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$numImages</span>
						(line <span class="line-number">124</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">number of images being tracked within the document</p>
	
	
		
		

</div>
<a name="var$numObj" id="$numObj"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$numObj</span>
						(line <span class="line-number">32</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the current number of pdf objects in the document</p>
	
	
		
		

</div>
<a name="var$numPages" id="$numPages"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$numPages</span>
						(line <span class="line-number">98</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">number of page objects within the document</p>
	
	
		
		

</div>
<a name="var$objects" id="$objects"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$objects</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">36</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">this array contains all of the pdf objects, ready for final assembly</p>
	
	
		
		

</div>
<a name="var$options" id="$options"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$options</span>
			 = <span class="var-default">array('compression'=&gt;1)</span>			(line <span class="line-number">129</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">an array containing options about the document</p>
<p class="description"><p>it defaults to turning on the compression of the objects</p></p>
	
	
		
		

</div>
<a name="var$procsetObjectId" id="$procsetObjectId"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$procsetObjectId</span>
						(line <span class="line-number">142</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the object Id of the procset object</p>
	
	
		
		

</div>
<a name="var$stack" id="$stack"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$stack</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">102</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">object Id storage stack</p>
	
	
		
		

</div>
<a name="var$stateStack" id="$stateStack"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$stateStack</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">90</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">an array which is used to save the state of the document, mainly the colours and styles</p>
<p class="description"><p>it is used to temporarily change to another state, the change back to what it was before</p></p>
	
	
		
		

</div>
<a name="var$wordSpaceAdjust" id="$wordSpaceAdjust"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$wordSpaceAdjust</span>
						(line <span class="line-number">138</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">used to track the last used value of the inter-word spacing, this is so that it is known  when the spacing is changed.</p>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodCpdf" id="Cpdf"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Constructor.png" />
		<span class="method-title">Constructor Cpdf</span> (line <span class="line-number">201</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">class constructor</p>
<p class="description"><p>this will start a new document</p></p>
	<ul class="tags">
				<li><span class="field">var:</span> array of 4 numbers, defining the bottom left and upper right corner of the page. first two are normally zero.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Cpdf</span>
		<span class="method-name">
			Cpdf
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$pageSize</span> = <span class="var-default">array(0,0,612,792)</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$pageSize</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddDestination" id="addDestination"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addDestination</span> (line <span class="line-number">2973</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">create a labelled destination within the document</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addDestination
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$label</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$style</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$a</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$b</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$c</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$label</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$style</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$a</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$b</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$c</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddImage" id="addImage"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addImage</span> (line <span class="line-number">2874</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add an image into the document, from a GD object</p>
<p class="description"><p>this function is not all that reliable, and I would probably encourage people to use  the file based functions</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addImage
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$img</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$w</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$h</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$quality</span> = <span class="var-default">75</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$img</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$w</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$h</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$quality</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddInfo" id="addInfo"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addInfo</span> (line <span class="line-number">2594</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add content to the documents info object</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addInfo
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$label</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$label</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddInternalLink" id="addInternalLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addInternalLink</span> (line <span class="line-number">1177</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add a link in the document to an internal destination (ie. within the document)</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addInternalLink
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$label</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$label</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y1</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddJpegFromFile" id="addJpegFromFile"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addJpegFromFile</span> (line <span class="line-number">2829</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add a JPEG image into the document, from a file</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addJpegFromFile
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$img</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$w</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$h</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$img</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$w</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$h</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddLink" id="addLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addLink</span> (line <span class="line-number">1168</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add a link in the document to an external URL</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addLink
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$url</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$url</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y1</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddMessage" id="addMessage"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addMessage</span> (line <span class="line-number">3026</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">used to add messages for use in debugging</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addMessage
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$message</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$message</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddObject" id="addObject"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addObject</span> (line <span class="line-number">2548</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">after an object has been created, it wil only show if it has been added, using this function.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addObject
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">'add'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddPngFromFile" id="addPngFromFile"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addPngFromFile</span> (line <span class="line-number">2641</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add a PNG image into the document, from a file</p>
<p class="description"><p>this should work with remote files</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addPngFromFile
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$w</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$h</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$w</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$h</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddText" id="addText"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addText</span> (line <span class="line-number">2160</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add text to the document, at a specified location, size and angle on the page</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addText
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$size</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$wordSpaceAdjust</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$size</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$text</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$angle</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$wordSpaceAdjust</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddTextWrap" id="addTextWrap"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">addTextWrap</span> (line <span class="line-number">2335</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add text to the page, but ensure that it fits within a certain width  if it does not fit then put in as much as possible, splitting at word boundaries  and return the remainder.</p>
<p class="description"><p>justification and angle can also be specified for the text</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addTextWrap
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$width</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$size</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$justification</span> = <span class="var-default">'left'</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$test</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$width</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$size</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$text</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$justification</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$angle</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$test</span>			</li>
				</ul>
		
			
	</div>
<a name="methodARC4" id="ARC4"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">ARC4</span> (line <span class="line-number">1142</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">ARC4 encrypt a text string</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ARC4
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$text</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$text</span>			</li>
				</ul>
		
			
	</div>
<a name="methodARC4_init" id="ARC4_init"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">ARC4_init</span> (line <span class="line-number">1116</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">initialize the ARC4 encryption</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ARC4_init
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$key</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcheckAllHere" id="checkAllHere"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">checkAllHere</span> (line <span class="line-number">1218</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">should be used for internal checks, not implemented as yet</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			checkAllHere
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcloseObject" id="closeObject"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">closeObject</span> (line <span class="line-number">2522</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">close an object</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			closeObject
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcurve" id="curve"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">curve</span> (line <span class="line-number">1686</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">draw a bezier curve based on 4 control points</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			curve
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x2</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y2</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x3</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y3</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x2</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y2</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x3</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y3</span>			</li>
				</ul>
		
			
	</div>
<a name="methodellipse" id="ellipse"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">ellipse</span> (line <span class="line-number">1717</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">draw an ellipse  note that the part and filled ellipse are just special cases of this function</p>
<p class="description"><p>draws an ellipse in the current line style  centered at $x0,$y0, radii $r1,$r2  if $r2 is not set, then a circle is drawn  nSeg is not allowed to be less than 2, as this will simply draw a line (and will even draw a  pretty crappy shape at 2, as we are approximating with bezier curves.</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ellipse
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$r1</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$r2</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$nSeg</span> = <span class="var-default">8</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$astart</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$afinish</span> = <span class="var-default">360</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$close</span> = <span class="var-default">1</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$fill</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$r1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$r2</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$angle</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$nSeg</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$astart</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$afinish</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$close</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$fill</span>			</li>
				</ul>
		
			
	</div>
<a name="methodencryptInit" id="encryptInit"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">encryptInit</span> (line <span class="line-number">1102</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">initialize the encryption for processing a particular object</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			encryptInit
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfilledEllipse" id="filledEllipse"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">filledEllipse</span> (line <span class="line-number">1703</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">draw a filled ellipse</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			filledEllipse
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$r1</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$r2</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$nSeg</span> = <span class="var-default">8</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$astart</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$afinish</span> = <span class="var-default">360</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$r1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$r2</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$angle</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$nSeg</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$astart</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$afinish</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfilledRectangle" id="filledRectangle"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">filledRectangle</span> (line <span class="line-number">1839</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">a filled rectangle, note that it is the width and height of the rectangle which are the secondary paramaters, not</p>
<p class="description"><p>the coordinates of the upper-right corner</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			filledRectangle
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$width</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$height</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$width</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$height</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetFirstPageId" id="getFirstPageId"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getFirstPageId</span> (line <span class="line-number">1643</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">function for the user to find out what the ID is of the first page that was created during  startup - useful if they wish to add something to it later.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getFirstPageId
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetFontDecender" id="getFontDecender"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getFontDecender</span> (line <span class="line-number">1947</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">return the font decender, this will normally return a negative number</p>
<p class="description"><p>if you add this number to the baseline, you get the level of the bottom of the font  it is in the pdf user units</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getFontDecender
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$size</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$size</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetFontHeight" id="getFontHeight"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getFontHeight</span> (line <span class="line-number">1933</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">return the height in units of the current font in the given size</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getFontHeight
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$size</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$size</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetTextWidth" id="getTextWidth"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getTextWidth</span> (line <span class="line-number">2252</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">calculate how wide a given text string will be on a page, at a given size.</p>
<p class="description"><p>this can be called externally, but is alse used by the other class functions</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getTextWidth
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$size</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$text</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$size</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$text</span>			</li>
				</ul>
		
			
	</div>
<a name="methodline" id="line"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">line</span> (line <span class="line-number">1679</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">draw a line from one set of coordinates to another</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			line
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$x2</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y2</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x2</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y2</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmd5_16" id="md5_16"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">md5_16</span> (line <span class="line-number">1090</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">calculate the 16 byte version of the 128 bit md5 digest of the string</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			md5_16
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$string</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$string</span>			</li>
				</ul>
		
			
	</div>
<a name="methodnewPage" id="newPage"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">newPage</span> (line <span class="line-number">1855</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">add a new page to the document</p>
<p class="description"><p>this also makes the new page the current active object</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			newPage
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$insert</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$pos</span> = <span class="var-default">'after'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$insert</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$pos</span>			</li>
				</ul>
		
			
	</div>
<a name="methodopenHere" id="openHere"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">openHere</span> (line <span class="line-number">2953</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">specify where the document should open when it first starts</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			openHere
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$style</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$a</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$b</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$c</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$style</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$a</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$b</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$c</span>			</li>
				</ul>
		
			
	</div>
<a name="methodopenObject" id="openObject"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">openObject</span> (line <span class="line-number">2494</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">make a loose object, the output will go into this object, until it is closed, then will revert to  the current one.</p>
<p class="description"><p>this object will not appear until it is included within a page.  the function will return the object number</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			openObject
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodoutput" id="output"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">output</span> (line <span class="line-number">1224</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">return the pdf stream as a string returned from the function</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			output
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$debug</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$debug</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_action" id="o_action"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_action</span> (line <span class="line-number">730</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">an action object, used to link to URLS initially</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_action
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_annotation" id="o_annotation"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_annotation</span> (line <span class="line-number">773</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">an annotation object, this will add an annotation to the current page.</p>
<p class="description"><p>initially will support just link annotations</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_annotation
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_catalog" id="o_catalog"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_catalog</span> (line <span class="line-number">301</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">define the document catalog, the overall controller for the document</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_catalog
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_contents" id="o_contents"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_contents</span> (line <span class="line-number">894</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the contents objects hold all of the content which appears on pages</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_contents
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_destination" id="o_destination"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_destination</span> (line <span class="line-number">228</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">destination object, used to specify the location for the user to jump to, presently on opening</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_destination
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_encryption" id="o_encryption"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_encryption</span> (line <span class="line-number">1019</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">encryption object.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_encryption
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_font" id="o_font"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_font</span> (line <span class="line-number">479</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">an object to hold the font description</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_font
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_fontDescriptor" id="o_fontDescriptor"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_fontDescriptor</span> (line <span class="line-number">563</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">a font descriptor, needed for including additional fonts</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_fontDescriptor
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_fontEncoding" id="o_fontEncoding"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_fontEncoding</span> (line <span class="line-number">614</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the font encoding</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_fontEncoding
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_image" id="o_image"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_image</span> (line <span class="line-number">944</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">an image object, will be an XObject in the document, includes description and data</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_image
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_info" id="o_info"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_info</span> (line <span class="line-number">686</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">define the document information</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_info
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_outlines" id="o_outlines"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_outlines</span> (line <span class="line-number">449</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">define the outlines in the doc, empty for now</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_outlines
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_page" id="o_page"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_page</span> (line <span class="line-number">825</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">a page object, it also creates a contents object to hold its contents</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_page
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_pages" id="o_pages"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_pages</span> (line <span class="line-number">351</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">object which is a parent to the pages in the document</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_pages
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_procset" id="o_procset"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_procset</span> (line <span class="line-number">651</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">the document procset, solves some problems with printing to old PS printers</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_procset
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodo_viewerPreferences" id="o_viewerPreferences"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">o_viewerPreferences</span> (line <span class="line-number">263</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">set the viewer preferences</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			o_viewerPreferences
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$action</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpartEllipse" id="partEllipse"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">partEllipse</span> (line <span class="line-number">1696</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">draw a part of an ellipse</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			partEllipse
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y0</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$astart</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$afinish</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$r1</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$r2</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$angle</span> = <span class="var-default">0</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$nSeg</span> = <span class="var-default">8</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y0</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$astart</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$afinish</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$r1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$r2</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$angle</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$nSeg</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpolygon" id="polygon"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">polygon</span> (line <span class="line-number">1822</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">draw a polygon, the syntax for this is similar to the GD polygon command</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			polygon
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$p</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$np</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$f</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$p</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$np</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$f</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrectangle" id="rectangle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">rectangle</span> (line <span class="line-number">1847</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">draw a rectangle, note that it is the width and height of the rectangle which are the secondary paramaters, not</p>
<p class="description"><p>the coordinates of the upper-right corner</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			rectangle
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$x1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$y1</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$width</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$height</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$x1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$y1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$width</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$height</span>			</li>
				</ul>
		
			
	</div>
<a name="methodreopenObject" id="reopenObject"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">reopenObject</span> (line <span class="line-number">2509</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">open an existing object for editing</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			reopenObject
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrestoreState" id="restoreState"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">restoreState</span> (line <span class="line-number">2475</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">restore a previously saved state</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			restoreState
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$pageEnd</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$pageEnd</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsaveState" id="saveState"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">saveState</span> (line <span class="line-number">2451</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">this will be called at a new page to return the state to what it was on the</p>
<p class="description"><p>end of the previous page, before the stack was closed down  This is to get around not being able to have open 'q' across pages</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			saveState
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$pageEnd</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$pageEnd</span>			</li>
				</ul>
		
			
	</div>
<a name="methodselectFont" id="selectFont"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">selectFont</span> (line <span class="line-number">1421</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">if the font is not loaded then load it and make the required object</p>
<p class="description"><p>else just make it the current font  the encoding array can contain 'encoding'=&gt; 'none','WinAnsiEncoding','MacRomanEncoding' or 'MacExpertEncoding'  note that encoding='none' will need to be used for symbolic fonts  and 'differences' =&gt; an array of mappings between numbers 0-&gt;255 and character names.</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			selectFont
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$fontName</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$encoding</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$set</span> = <span class="var-default">1</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$fontName</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$encoding</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$set</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetColor" id="setColor"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setColor</span> (line <span class="line-number">1659</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">sets the colour for fill operations</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setColor
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$r</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$g</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$b</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$force</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$r</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$g</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$b</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$force</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetEncryption" id="setEncryption"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setEncryption</span> (line <span class="line-number">1188</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">set the encryption of the document  can be used to turn it on and/or set the passwords which it will have.</p>
<p class="description"><p>also the functions that the user will have are set here, such as print, modify, add</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setEncryption
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$userPass</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$ownerPass</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$pc</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$userPass</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$ownerPass</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$pc</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetFontFamily" id="setFontFamily"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setFontFamily</span> (line <span class="line-number">2989</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">define font families, this is used to initialize the font families for the default fonts  and for the user to add new ones for their fonts. The default bahavious can be overridden should  that be desired.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setFontFamily
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$family</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$family</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetLineStyle" id="setLineStyle"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setLineStyle</span> (line <span class="line-number">1793</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">this sets the line drawing style.</p>
<p class="description"><p>width, is the thickness of the line in user units  cap is the type of cap to put on the line, values can be 'butt','round','square'     where the diffference between 'square' and 'butt' is that 'square' projects a flat end past the     end of the line.  join can be 'miter', 'round', 'bevel'  dash is an array which sets the dash pattern, is a series of length values, which are the lengths of the    on and off dashes.    (2) represents 2 on, 2 off, 2 on , 2 off ...    (2,1) is 2 on, 1 off, 2 on, 1 off.. etc  phase is a modifier on the dash pattern which is used to shift the point at which the pattern starts.</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setLineStyle
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$width</span> = <span class="var-default">1</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$cap</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$join</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$dash</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$phase</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$width</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$cap</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$join</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$dash</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$phase</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetPreferences" id="setPreferences"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setPreferences</span> (line <span class="line-number">2611</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">set the viewer preferences of the document, it is up to the browser to obey these.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setPreferences
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$label</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$label</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetStrokeColor" id="setStrokeColor"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">setStrokeColor</span> (line <span class="line-number">1669</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">sets the colour for stroke operations</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setStrokeColor
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$r</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$g</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$b</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$force</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$r</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$g</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$b</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$force</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstopObject" id="stopObject"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">stopObject</span> (line <span class="line-number">2537</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">stop an object from appearing on pages from this point on</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			stopObject
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstream" id="stream"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">stream</span> (line <span class="line-number">1903</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">output the pdf code, streaming it to the browser</p>
<p class="description"><p>the relevant headers are set so that hopefully the browser will recognise it</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			stream
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$options</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtransaction" id="transaction"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">transaction</span> (line <span class="line-number">3033</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">a few functions which should allow the document to be treated transactionally.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			transaction
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$action</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$action</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Fri, 29 May 2009 19:56:20 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>